var mongoose = require("./connect");
var Schema = mongoose.Schema
var financeSchema =new Schema({
    date:String,   //日期
    cost:Number,  //花费
    way:String,//花费项
})
var financeModel = mongoose.model('finance',financeSchema) //定义一个操作对应表的，模型对象

module.exports = financeModel